Description:

Determines whether an element is in the List.

Syntax:
public bool Contains(
T item
)
Parameters:
  • item
  • Type: T
  • The object to locate in the List. The value can be a None reference (Nothing in Visual Basic) for reference types.
Returns:
Type: bool
True if item is found in the List; otherwise, false.

Nothing found